package ran.quzitech.rnutils.http;

/**
 * Created by ran on 2016/9/8.
 */
public interface IRequest {

    public void post(String url, String json, IHandler<Boolean> handler);

    public void get(String url, IHandler<Boolean> handler);

    public void patch(String url, String json, IHandler<Boolean> handler);

    public void requestWith(String url, String parsms, IHandler<Boolean> handler);

    public void uploadWith(String url, String params, String filePath, IHandler<Boolean> handler);
}
